public class PasswordTester
{
   public static void main(String[] args)
   {
      String originalPassword="asecretid";
      
      String modifiedPassword;
      modifiedPassword = originalPassword.replace('e','3');
      modifiedPassword = modifiedPassword.replace('i','1');
      modifiedPassword = modifiedPassword.replace('a','@');
      modifiedPassword = modifiedPassword.replace('s','$');
      
      System.out.println(modifiedPassword);
      // Also print out what you expect
      System.out.println("Expected: @$3cr3t1d");
   }
}